<template>
<div id="animation-third-party">
  <button @click="isShow=!isShow">当点击显示</button>
  <transition name="animate__animated animate__bounce"
              :appear="true"
              enter-active-class="animate__swing"
              leave-active-class="animate__backOutUp"
  >
    <h1 v-show="isShow">动画</h1>
  </transition>

</div>
</template>

<script>
// 借助第三方库实现
import 'animate.css'
export default {
  name: "animation-third-party",
  data(){
    return {
      isShow:true
    }
  }
}
</script>

<style scoped>
  h1{
    background: orange;
  }
</style>
